package com.fansm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WebController {

    @GetMapping(value = {"/login.html"})
    public String loginPage(){
        return "login";
    }

    @GetMapping("/home.html")
    public String home(){
        return "home";
    }
}
